import request from '@/utils/request'


export function selectTransByNo(data) {

  return request({
    url: '/transfer/find/'+data,
    method: 'post',
    data: data,
  })
}

// 查询用户列表
export function listUser(query) {
  return request({
    url: '/system/user/list',
    method: 'get',
    params: query
  })
}

//转接申请
export function delTransfer(data){
  console.log(data);
  return request({
    url: '/transfer/receive',
    method:'post',
    data: data
  })
}

//拒绝转接申请
export function delRefuse(data){
  console.log(data);
  return request({
    url:'/transfer/refuse',
    method:'post',
    data: data
  })
}